<div class="box section destinations">
    <div class="title"><span></span> <?= lang('t.top_destinations'); ?></div>
    
    <div class="cont" style='padding-bottom: 3px'>
         <ul class="clearfix">

            <? $cnt = count($popular); ?>
            <? for ($i = 0; $i < $cnt; $i++): 
            $href = lang_url('search?dest_hot=' . $popular[$i]->name . '&preview=1'. "&currency=" . currency_sign());
            ?>
            <li><a href="<?= $href ?>" class="ellipsis"><?= $popular[$i]->name ?></a></li>
            <? endfor; ?>
        </ul>
    </div>
    
    <div class="cont read_me_more">
        <div class="cols clearfix">
            <? $cnt = count($specialDests); ?>
            <? for ($i = 0; $i < $cnt; $i++): 
            $href = lang_url('search?dest_hot=' . $specialDests[$i]->name . '&preview=1'. "&currency=" . currency_sign());
            $thumbnail = HOST_URL_HOTELS . 'gallery/destinations/' . $specialDests[$i]->photo_path . '/thumb_277x200/' . $specialDests[$i]->photo_name; 
            ?>
            <div>
                <a class="img" href="<?= $href ?>">
                    <img alt="Leut" src="<?= $thumbnail ?>"/>
                    <div class="info">
                        <div class="clearfix">
                            <div class="title"><?= $specialDests[$i]->name ?></div>

                            <div class="price right"><span><?= lang('nav.hotels'); ?></span> <?= $popular[$i]->hotels_count; ?></div>
                            <div class="price right mr-15"><span><?= lang('accommodations'); ?></span> <?= ($popular[$i]->accommodations_count + $popular[$i]->hostels_count + $popular[$i]->authentic_count ); ?></div>

                        </div>
                    </div>
                </a>
            </div>
            <? endfor; ?>
        </div>
       

    </div>
</div><!-- DESTINATIONS -->